package com.luoran.kaka.entity;

import java.io.Serializable;
import java.util.Date;

import org.beetl.sql.core.annotatoin.AssignID;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 个人名片信息表
 */
public class BasicInfo extends BaseInfo implements Serializable {

	private static final long serialVersionUID = 1L;

	public BasicInfo() {
	}

	/**
	 * 主键ID
	 */
	@AssignID("uuid")
	public String getId() {
		return getString("id");
	}

	public void setId(String id) {
		set("id", id);
	}

	/**
	 * 记录微信用户唯一标识openid
	 */
	public String getWxOpenId() {
		return getString("wxOpenId");
	}

	public void setWxOpenId(String wxOpenId) {
		set("wxOpenId", wxOpenId);
	}

	/**
	 * 用户名称
	 */
	public String getUserName() {
		return getString("userName");
	}

	public void setUserName(String userName) {
		set("userName", userName);
	}

	/**
	 * 性别
	 */
	public String getSex() {
		return getString("sex");
	}

	public void setSex(String sex) {
		set("sex", sex);
	}

	/**
	 * 手机/电话号码
	 */
	public String getPhoneNumber() {
		return getString("phoneNumber");
	}

	public void setPhoneNumber(String phoneNumber) {
		set("phoneNumber", phoneNumber);
	}

	/**
	 * 邮箱
	 */
	public String getEmail() {
		return getString("email");
	}

	public void setEmail(String email) {
		set("email", email);
	}

	/**
	 * 生日
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd")
	public Date getBirthday() {
		return getDate("birthday");
	}

	public void setBirthday(Date birthday) {
		set("birthday", birthday);
	}

	/**
	 * 学校/公司
	 */
	public String getSchoolOrCompany() {
		return getString("schoolOrCompany");
	}

	public void setSchoolOrCompany(String schoolOrCompany) {
		set("schoolOrCompany", schoolOrCompany);
	}

	/**
	 * 班级/名称
	 */
	public String getClassOrDepartment() {
		return getString("classOrDepartment");
	}

	public void setClassOrDepartment(String classOrDepartment) {
		set("classOrDepartment", classOrDepartment);
	}

	/**
	 * 职务
	 */
	public String getTitle() {
		return getString("title");
	}

	public void setTitle(String title) {
		set("title", title);
	}

	/**
	 * 个人标签
	 */
	public String getPersonalLabel() {
		return getString("personalLabel");
	}

	public void setPersonalLabel(String personalLabel) {
		set("personalLabel", personalLabel);
	}

	/**
	 * 个人描述
	 */
	public String getPersonalDesc() {
		return getString("personalDesc");
	}

	public void setPersonalDesc(String personalDesc) {
		set("personalDesc", personalDesc);
	}

	/**
	 * 照片ID
	 */
	public String getPicId() {
		return getString("picId");
	}

	public void setPicId(String picId) {
		set("picId", picId);
	}

	/**
	 * 额外信息ID
	 */
	public String getExtraInfoId() {
		return getString("extraInfoId");
	}

	public void setExtraInfoId(String extraInfoId) {
		set("extraInfoId", extraInfoId);
	}

	/**
	 * 是否公开信息,是否能被搜索到.0未公开,1公开
	 */
	public Integer getIsPublic() {
		return getInteger("isPublic");
	}

	public void setIsPublic(Integer isPublic) {
		set("isPublic", isPublic);
	}

	/**
	 * 分享/转发次数
	 */
	public Integer getShareCount() {
		return getInteger("shareCount");
	}

	public void setShareCount(Integer shareCount) {
		set("shareCount", shareCount);
	}

	/**
	 * 查看次数
	 */
	public Integer getViewCount() {
		return getInteger("viewCount");
	}

	public void setViewCount(Integer viewCount) {
		set("viewCount", viewCount);
	}

	/**
	 * 
	 */
	public Date getCreatetime() {
		return getDate("createtime");
	}

	public void setCreatetime(Date createtime) {
		set("createtime", createtime);
	}

	/**
	 * 
	 */
	public Date getLastupdatetime() {
		return getDate("lastupdatetime");
	}

	public void setLastupdatetime(Date lastupdatetime) {
		set("lastupdatetime", lastupdatetime);
	}

}